<%-- 
    Document   : header.jsp
    Created on : Dec 21, 2009, 1:13:49 PM
    Author     : 50920709
--%>
<%@page contentType="text/html;charset=UTF-8"%>

<%
boolean islogin = (session.getAttribute("user")!=null);
%>
<div id="WholePage">
        <div id="Inner">
            <div id="Container">

                <div id="TopPart">
                    <div id="Header">
                        <span>Sudoku 數獨</span><br/>
                        <a class="link" href="index.jsp">http://localhost:8080/SudokuITSWebsite/</a>
                     </div>

                     <div id="Top_right">
                         <div id="Menu">
                             <a href="index.jsp"><span>Home</span></a>
                             <a href="SudokuApplet.jsp"><span>Sudoku</span></a>
                             <%if(!islogin){%>
                                <a href="login.jsp" id="login" style="display: block"><span>Register/Login</span></a>
                                <a href="logout.jsp" id="logout" style="display: none"><span>Logout</span></a>
                             <%}else{%>
                                <a href="login.jsp" id="login" style="display:none"><span>Register/Login</span></a>
                                <a href="logout.jsp" id="logout" style="display: block"><span>Logout</span></a>
                             <%}%>
                         </div>
                     </div>

                     <div id="CentralPart">

                         <div id="LeftPart">
                             <div id="Page">
								<div>

